package com.ytclub.auth.application.convent;

import com.ytclub.auth.application.dto.AuthRoleDTO;
import com.ytclub.auth.domain.entity.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色DTO的转换器
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 角色DTO的转换
 */
@Mapper
public interface AuthRoleDTOConverter {
    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleBO convertDTOToBO(AuthRoleDTO authRoleDTO);


}
